-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Increase coverage for is_separable
#509
Conversation
Updates the requirements on [pylint](https://github.com/pylint-dev/pylint) to permit the latest version. - [Release notes](https://github.com/pylint-dev/pylint/releases) - [Commits](pylint-dev/pylint@v3.0.3...v3.1.0) --- updated-dependencies: - dependency-name: pylint dependency-type: direct:development ... Signed-off-by: dependabot[bot] <[email protected]>
Interestingly the following line shows up as uncovered in the coverage report even though there is a test covering the same lines in the unit tests. toqito/toqito/state_props/is_separable.py Lines 78 to 85 in b58f066
toqito/toqito/state_props/tests/test_is_separable.py Lines 23 to 28 in b58f066
Decided to remove these lines based on a comment in another PR: #335 (comment) |
Another interesting thing is the changes in 57b25fc catches more lines as uncovered by unit tests. Before https://app.codecov.io/gh/vprusso/toqito/pull/509/blob/toqito/state_props/is_separable.py#L185 |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #509 +/- ##
========================================
- Coverage 98.1% 98.1% -0.1%
========================================
Files 162 162
Lines 3112 3109 -3
Branches 760 759 -1
========================================
- Hits 3054 3051 -3
Misses 37 37
Partials 21 21 ☔ View full report in Codecov by Sentry. |
I don't know why the following lines are showing up as uncovered in the pytes coverage. toqito/toqito/state_props/is_separable.py Lines 74 to 79 in a1fe746
The changes in a1fe746 should have covered these. Maybe, this is due to an error in Edit: does not appear to be a Codecov issue. I can see the report now but the linked lines are still uncovered. |
Temporarily closing this as the branch is out of date. |
Description
Fixes #293
Changes
Requires tests for the following lines:
Checklist
Before marking your PR ready for review, make sure you checked the following locally. If this is your first PR, you might be notified of some workflow failures after a maintainer has approved the workflow jobs to be run on your PR.
Additional information is available in the documentation.
ruff
andpylint
for errors related to code style and formatting.pytest
.Sphinx
build can be checked locally for any failures related to your PRlinkcheck
to check for broken links in the documentationdoctest
to verify the examples in the function docstrings work as expected.